<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@include file="WEB-INF/jspf/core.jspf" %>
<s:layout-render name= "WEB-INF/layout/baselayout.jsp"
                 title= "Home" >
    <s:layout-component name="subtitle">
        There are ${actionBean.message} vet(s).
    </s:layout-component>
    <s:layout-component name="content">
        <ul>
            <c:forEach var="vet" items="${actionBean.vets}">
                <li>${vet.firstName} ${vet.lastName}
                    <s:link beanclass="ro.tni.stripesweb.action.VetsActionBean"
                                    event="remove">
                        <s:param name="id" value="${vet.id}"/>
                        Remove
                    </s:link>
                </li>
            </c:forEach>
        </ul>
    </s:layout-component>
</s:layout-render>